﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace FanaticToy.Core.Configure
{
    public class ToyNodeTarget
    {
        ///<summary>目标名称。</summary>
        [XmlAttribute]
        public string TargetName { get; set; }

        ///<summary>连接方式</summary>
        [XmlAttribute]
        public LinkType LinkType { get; set; }

        public ToyNodeTarget()
        {
            
        }

        public ToyNodeTarget(string targetName, LinkType linkType)
        {
            TargetName = targetName;
            LinkType = linkType;
        }

    }
}
